{% extends "ProjetUserBundle::layout.html.twig" %}
{% block user_toolBar %}
		
{% endblock %}
	
{% block menu %}
		
{% endblock %}
            {% block fos_user_content %}
            <div class="alert">
            	
            	<div class="alert alert-success"><h1>Authentification</h1></div>
            		
				{% if error %}
				    <div class="alert alert-danger">{{ error|trans({}, 'ProjetUserBundle') }}</div>
				{% endif %}
				
				<form action="{{ path("fos_user_security_check") }}" method="post">
				    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
				
				    <label for="username">{{ 'security.login.username'|trans({}, 'FOSUserBundle') }}</label>
				    <input type="text" id="username" name="_username" value="{{ last_username }}" />
				
				    <label for="password">{{ 'security.login.password'|trans({}, 'FOSUserBundle') }}</label>
				    <input type="password" id="password" name="_password" />
				<br />
				    <input type="checkbox" id="remember_me" name="_remember_me" value="on" />
				    <label for="remember_me">{{ 'security.login.remember_me'|trans({}, 'FOSUserBundle') }}</label>
				
				    <input class="btn btn-success" type="submit" id="_submit" name="_submit" value="{{ 'security.login.submit'|trans({}, 'FOSUserBundle') }}" />
				</form>
            </div>
            {% endblock fos_user_content %}